package cn.qyd.javabase;

public class LabelDemo {
    public static void main(String[] args) {
       // myLabel:
        for(int i = 1; i < 4; i++){
            myLabel:
            for (int j = 1; j < 4; j++) {
                if(i == 2 && j == 2) {
                    System.out.println("跳出myLabel中当前迭代循环");
                    continue myLabel;
                }
                System.out.println("i： " + i + " j: " + j);
            }
        }
        System.out.println("结束");
    }
}
